package com.woniuxy.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 分页的泛型
 *
 * @param <T>
 */
@Data
public class PageQueryParam<T> {

    @ApiModelProperty("需要查询的某一页")
    private Long indexPage = 1l;

    @ApiModelProperty("一页的条数")
    private Long pageSize = 10l;

    @ApiModelProperty("查询条件")
    private T queryCriteria;
}
